﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using NWN.GDY.Service.Entity;
using NWN.GDY.Service.Core;

namespace NWN.GDY.Web
{
    // 注意: 如果更改此处的类名 "GDYService"，也必须更新 Web.config 中对 "GDYService" 的引用。
    public class GDYService : IGDYService
    {
        public string CreateNewTable(string passport, string nick, string uid, string tablename)
        {
            return new GDYEngine().NewTable(passport, nick, uid, tablename);
        }

        public List<Room> GetALLTables()
        {
            return new GDYEngine().GetALLTables();
        }
    }
}
